then send return repeat pass on next if global function exit end else do -- repeat with...=repeat with | = xxx to xxx end repeat repeat while...=repeat while | end repeat repeat until..=repeat until | end repeat repeat for...=repeat for | times end repeat repeat ...=repeat | end repeat on startUp...=on startUp | end startUp on openWindow...=on openWindow | end openWindow on openProject...=on openProject | end openProject on openCard...=on openCard | end openCard on openBackground...=on openBackground | end openBackground on mouseUp...=on mouseUp | end mouseUp on mouseStillDown=on mouseStillDown | end mouseStillDown on mouseDown...=on mouseDown | end mouseDown on idle...=on idle | end idle on closeWindow...=on closeWindow | end closeWindow on closeProject...=on closeProject | end closeProject on closeCard...=on closeCard | end closeCard on closeBackground...=on closeBackground | end closeBackground on ...=on xxx | end xxx lockscreen...=set lockscreen to true | set lockscreen to false lockmessages...=set lockmessages to true | set lockmessages to false lockmenus...=set lockmenus to true | set lockmenus to false switch...case...end=switch | case xxx end switch if...then=if | then xxx if...then...end=if | then xxx end if if...then...else=if | then xxx else xxx if...then...else...end=if | then xxx else xxx end if function...=function xxx | end xxx